Skip to content

Instantly share code, notes, and snippets.

@vil
vil / opsec_bible.md
Last active May 17, 2026 03:30
OpSec Bible - MD file containing useful tips and tricks to improve OpSec.

Operations Security (OpSec) Bible

Operations Security (OpSec) is crucial for maintaining the privacy and security of your activities. The following guidelines, divided into specific zones, will help you safeguard your identity and operations. Use common sense and conduct your own research to supplement these recommendations. Remember, these guidelines are meant for lawful purposes only.


These tips and tricks have been collected from other sources and guides that have been lost in time. Some of these tips

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@kosua20
kosua20 / gist:0c506b81b3812ac900048059d2383126
Created March 18, 2017 18:35
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
/*============================================================================
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
------------------------------------------------------------------------------
COPYRIGHT (C) 2010, 2011 NVIDIA CORPORATION. ALL RIGHTS RESERVED.
------------------------------------------------------------------------------
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
@v3l0c1r4pt0r
v3l0c1r4pt0r / places2html.py
Created March 7, 2021 15:02
Convert places.sqlite to bookmarks.html (allows import from Firefox for Android to Chrome/Chromium)
#!/usr/bin/env python3
# convert places.sqlite to bookmarks.html
import sqlite3
import sys
import json
if len(sys.argv) < 2:
print('Usage: {} places.sqlite > bookmarks.html'.format(sys.argv[0]))
sys.exit(1)
@eimg
eimg / easy-react.md
Last active May 17, 2026 03:24
Much Easier Approach to React

Much Easier Approach to React

စိတ်ဝင်စားတဲ့သူများနေလို့ လေ့လာကြည့်ပေမယ့် "React က ခက်လိုက်တာ" လို့များတွေးနေသလား? တစ်ကယ်တော့ React က မခက်ပါဘူး။ ရေးနည်း တွေးနည်းတွေက မူလရိုးရိုး ရေးနည်းတွေးနည်း စနစ်တွေကနေ လုံးဝပြောင်းသွားလို့ "ပြောင်းရခက်နေတာ" ပါ။ Official Documentation နဲ့ အင်တာနက်က Tutorial တွေလေ့လာကြည့်လိုက်ရင်လည်း -- ES6 တွေ၊ Arrow Function တွေ၊ Class တွေ၊ JSX တွေနဲ့ ဟိုကနေဒီရောက်၊ ဟိုကနေဒီရောက် ဖြစ်နေပြီး -- သူတို့ရှင်းပြမှ ပိုရှုပ်သွားတယ် ဆိုသလို ဖြစ်နေတာကို တွေ့ရပါတယ်။

ဒီပို့စ်မှာ React ကို ချည်းကပ်ပုံတစ်မျိုးနဲ့ ပြောင်းလဲဖော််ပြပေးသွားမှာပါ။ ကျွန်တော်ပို့ချနေတဲ့ Rockstar Developer Course က သင်တန်းသူ သင်တန်းသားတွေကို ဒီနည်းနဲ့ သင်မယ်လို့ ရည်ရွယ်ထားပေမယ့် လက်တမ်း ချသင်ကြည့်တဲ့အခါ သိပ်အဆင်မပြေလို့ အခုလိုစာအဖြစ် ရေးသားလိုက်တာပါ။ JavaScript အခြေခံရှိသူ မည်သူမဆို နားလည်ပြီး စိတ်ဝင်စားလိမ့်မယ်လို့ ထင်ပါတယ်။

Plain JavaScript

ဘာ Library, ဘာ Framework မှ မပါတဲ့ ရိုးရိုး JavaScript နဲ့ HTML Element တစ်ခုတည်ဆောက်မယ်ဆိုရင် အခုလို တည်ဆောက်နိုင်ပါတယ်။

@docularxu
docularxu / blog-claude-code-china.md
Last active May 17, 2026 03:14
How I Got Claude Code Working in China — What Works and What Doesn't

How I Got Claude Code Working in China — What Works and What Doesn't

February 12, 2026

If you're a developer in China trying to use Claude Code, you've probably hit the 403 wall. This guide covers how to get it working in three scenarios:

  1. macOS Terminal (shell) - using claude CLI directly in your terminal
  2. VS Code Terminal - using claude CLI inside VS Code's integrated terminal
  3. VS Code Claude Code Extension - using the Claude Code chat panel (installed as a VS Code extension)
@smallnest
smallnest / multi-agent-config-instruction.md
Created March 3, 2026 03:33 — forked from 1va7/multi-agent-config-instruction.md
OpenClaw 多 Agent 架构配置指南 - 把这份文档发给你的 OpenClaw,它会引导你选择最适合的多 Agent 架构配置

OpenClaw 多 Agent 架构配置指南

把这份指南发给你的 OpenClaw,它会引导你选择最适合的多 Agent 架构。


使用说明

当用户把这份文档发给你时,请按照以下流程引导他们选择合适的多 Agent 架构配置。